package com.feicheng.iou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feicheng.iou.entity.Backview;
import com.feicheng.iou.pojo.resourceBackviewParamPOJO.BackviewListParamPOJO;
import com.feicheng.iou.pojo.resourceBackviewParamPOJO.BackviewListReturnListPOJO;

import java.util.List;

/**
 *
 * @author wuweinan
 * @since 2021-06-28
 */
public interface BackviewListMapper extends BaseMapper<Backview> {

    /**
     * @Author wuweinan
     * @Description 动态查询Backview,Student,Resource联查信息,查询回访线索列表.
     * @Date 2021-6-29 17:19
     * @param a
     * @return List<BackviewListReturnListPOJO>
     */
     List<BackviewListReturnListPOJO> selectBackviewsPagesByCondition(BackviewListParamPOJO a);

    //返回多表联查的backviews总条数

    /**
     * @Author wuweinan
     * @Description 查询Backview,Student,Resource联查信息返回的条数
     * @Date 2021-6-29 17:19
     * @param a
     * @return Integer
     */
   Integer statisticsSelectResult (BackviewListParamPOJO a);


    /**
     * @Author wuweinan
     * @Description 查询Backview,Student,Resource联查信息,查询单个回访线索.
     * @Date 2021-6-29 17:19
     * @param a
     * @return Integer
     */
    List<BackviewListReturnListPOJO> selectBackviewPagesByCondition(BackviewListParamPOJO a);

    /**
     * @Author wuweinan
     * @Description 查询Backview,Student,Resource联查信息返回的条数,查询单个回访线索.
     * @Date 2021-6-29 17:19
     * @param a
     * @return Integer
     */
     Integer statisticSelectResult (BackviewListParamPOJO a);

}
